package com.cloudminds.resttest.vo;

public class CallParams {


    public static String BASE_RCUID = "A0-";
    public static String RCUID = "862851030073038";
    public static String ROBOTID = "AP990438A00Y6A-0004";
    public static String HARI_IP = "172.16.13.109";
    public static String HARI_PORT = "9443";
    public static String USER_NAME = "cloudminds1";
    public static String USER_PASSWORD = "8b62d48370b84f7f5be723ec48f3bc9db1b01ef9";
    public static String TENANT_ID = "cloudminds";
    public static String MQTT_IP = "172.16.13.109:1883";
    public static boolean VIDEO_ENABLE =  false;
    public static boolean FR_ENABLE = true;
    public static boolean ASR_ENABLE = true;
    public static int ASR_SEND_INTERVAL = 10;
    public static int FR_SEND_INTERVAL = 3;
    public static int FR_CHANGE_INTERVAL = 5;
    public static String SERVICE_CODE = "pepper";
    private static int sequence = 0;

    public static String generateRcuId(){

        int maxSeq = (int) (2147483648L-1);
        if (sequence == maxSeq){
            sequence = 0;
        }else {
            sequence++;
        }


        return CallParams.BASE_RCUID+sequence;
    }

    public static String getUserName(){
        return CallParams.USER_NAME+sequence;
    }

}
